package com.maple.file.service.impl;

import com.maple.file.service.IFileUploadService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
@Slf4j
public class FastDfsServiceImpl implements IFileUploadService {

    @Override
    public String uploadFile(MultipartFile file, String originalName) {

        return null;
    }

    @Override
    public String uploadFileByBytes(byte[] bytes,
                                    String fileName,
                                    Long userTableId,
                                    Long contentLength,
                                    String suffix,
                                    Boolean isSecret) {

        return null;
    }

    @Override
    public String serviceUploadFile(MultipartFile file, Integer retry) {
        return null;
    }


    @Override
    public boolean filterService(String channel) {
        return "fastdfs".equals(channel);
    }
}
